package com.card.common;

import com.card.game.room.RoomSetting.RoomMode;

/**   
 * @Description: 
 * @author siyunlong  
 * @date 2016年8月13日 下午8:30:00 
 * @version V1.0   
 */
public class CardContants {
	//游戏id 0-麻将  1-炸金花 2-斗地主 3-牛牛  4-跑得快
	public static final int GAMETYPE_SH = 0;
	public static final int GAMETYPE_TGG = 1;
	public static final int GAMETYPE_Ddz = 2;
	public static final int GAMETYPE_Nn = 3;
	public static final int GAMETYPE_Pdk = 4;  
	
	public static final int CARD_INIT = 13; 
	
	
	public final static int Dong = 3;
	public final static int Xi = 1;
	public final static int Nan = 0;
	public final static int Bei = 2;
	
	public final static int Min_Index = 1;
	
	public final static int YoujinNum = 13;
	
	public static int getRoomPrice(int type) {
		RoomMode roomMode = RoomMode.values()[type];
		if (roomMode == RoomMode.Ju4) {
			return 1;
		}
		if (roomMode == RoomMode.Ju8) {
			return 2;
		}
		return 1;
	}
}
